//
//  TrackService.h
//  iPath
//
//  Created by Janidu Wanigasuriya on 11/15/12.
//  Copyright (c) 2012 99XTechnology. All rights reserved.
//

#import <Foundation/Foundation.h>
#import <MapKit/MapKit.h>

#import "CrumbPath.h"
#import "Path.h"
#import "CrumbPathView.h"
#import "LocationService.h"
#import "PointObject.h"
#import "TrackDetail.h"

@interface TrackWorker : NSObject

@property(nonatomic)Path *crumbs;
@property(nonatomic)CrumbPathView *crumbPathView;
@property(nonatomic)NSMutableArray *locationList;
@property(nonatomic)LocationService *locationService;
@property(nonatomic, weak)MKMapView *mapView;

-(id)initWithMapView:(MKMapView *)mapView;
-(void)track;
-(void)drawTrack:(TrackDetail *)track;
-(void)clearOverlay;
-(void)resetDistance;
-(void)stop;
@end
